$(function(){

    //会员章程
    var authConstitution ={
    };
    /**
     * 初始化
     * **/
    authConstitution.init = function(){
        //获取时间发布的时间轴
        $.ajax({
            async: false,
            url: '/authInfo/findAuthConstitution',
            success: function (result) {
                if (result && result.code == 200) {
                    if (result.data != '') {
                       var $contentDiv = $('#content');
                        $contentDiv.find('.article-title').text( "-    "+result.data.title+"    -" );
                        $contentDiv.find('.article-time').text( result.data.createTime);
                        var $newsHtml =  $('#contentText');
                        $newsHtml.html(result.data.authText);
                        $(".brief img").attr("src", result.data.advertUrl);
                    }
                }
            },
            error: function () {
                layer.alert('服务器出错啦！', {icon: 2, title: '错误'});
            }
        });
    }

    //初始化
    authConstitution.init();
    header.selLiCss("auth");
    //面包屑名称
    $("#menu-ico span").html("•&nbsp;&nbsp;会员俱乐部&nbsp;&nbsp;•&nbsp;&nbsp;会员章程");
});